package cn.stylefeng.guns.modular.manager.service;

import cn.stylefeng.guns.base.pojo.page.LayuiPageInfo;
import cn.stylefeng.guns.modular.manager.entity.FlowStoreRegionPrice;
import cn.stylefeng.guns.modular.manager.model.params.FlowStoreRegionParam;
import cn.stylefeng.guns.modular.manager.model.params.FlowStoreRegionPriceParam;
import cn.stylefeng.guns.modular.manager.model.result.FlowStoreRegionPriceResult;
import cn.stylefeng.guns.modular.manager.model.result.FlowStoreRegionResult;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface FlowStoreRegionPriceService extends IService<FlowStoreRegionPrice> {

    /**
     * 新增
     *
     * @author yumker
     * @Date 2021-01-07
     */
    void add(FlowStoreRegionPriceParam param);

    /**
     * 删除
     *
     * @author yumker
     * @Date 2021-01-07
     */
    void delete(FlowStoreRegionPriceParam param);

    /**
     * 更新
     *
     * @author yumker
     * @Date 2021-01-07
     */
    void update(FlowStoreRegionPriceParam param);

    /**
     * 查询单条数据，Specification模式
     *
     * @author yumker
     * @Date 2021-01-07
     */
    FlowStoreRegionPriceResult findBySpec(FlowStoreRegionPriceParam param);

    /**
     * 查询列表，Specification模式
     *
     * @author yumker
     * @Date 2021-01-07
     */
    List<FlowStoreRegionPriceResult> findListBySpec(FlowStoreRegionPriceParam param);

    /**
     * 查询分页数据，Specification模式
     *
     * @author yumker
     * @Date 2021-01-07
     */
    LayuiPageInfo findPageBySpec(FlowStoreRegionPriceParam param);
}
